package com.baor.finance.service.impl;

import java.util.List;

import com.baor.finance.domain.TotalTixian;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baor.finance.mapper.TixianMapper;
import com.baor.finance.domain.Tixian;
import com.baor.finance.service.ITixianService;

/**
 * 会员提现Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-07-21
 */
@Service
public class TixianServiceImpl implements ITixianService 
{
    @Autowired
    private TixianMapper tixianMapper;

    @Override
    public TotalTixian tixianTotle() {
        return tixianMapper.tixianTotle();
    }

    @Override
    public int tixianYes(Long tixianId) {
        return tixianMapper.tixianYes(tixianId);
    }

    @Override
    public int tixianNo(Long tixianId) {
        return tixianMapper.tixianNo(tixianId);
    }

    /**
     * 查询会员提现
     * 
     * @param tixianId 会员提现主键
     * @return 会员提现
     */
    @Override
    public Tixian selectTixianByTixianId(Long tixianId)
    {
        return tixianMapper.selectTixianByTixianId(tixianId);
    }

    /**
     * 查询会员提现列表
     * 
     * @param tixian 会员提现
     * @return 会员提现
     */
    @Override
    public List<Tixian> selectTixianList(Tixian tixian)
    {
        return tixianMapper.selectTixianList(tixian);
    }

    /**
     * 新增会员提现
     * 
     * @param tixian 会员提现
     * @return 结果
     */
    @Override
    public int insertTixian(Tixian tixian)
    {
        return tixianMapper.insertTixian(tixian);
    }

    /**
     * 修改会员提现
     * 
     * @param tixian 会员提现
     * @return 结果
     */
    @Override
    public int updateTixian(Tixian tixian)
    {
        return tixianMapper.updateTixian(tixian);
    }

    /**
     * 批量删除会员提现
     * 
     * @param tixianIds 需要删除的会员提现主键
     * @return 结果
     */
    @Override
    public int deleteTixianByTixianIds(Long[] tixianIds)
    {
        return tixianMapper.deleteTixianByTixianIds(tixianIds);
    }

    /**
     * 删除会员提现信息
     * 
     * @param tixianId 会员提现主键
     * @return 结果
     */
    @Override
    public int deleteTixianByTixianId(Long tixianId)
    {
        return tixianMapper.deleteTixianByTixianId(tixianId);
    }
}
